import request from '@/utils/request'
function getUrl(url) { return '/api/' + url }

//添加火情信息
export function addInNonEmergency(data) {
    return request({
        url: getUrl("admin/handle/addInNonEmergency"),
        method: 'post',
        data
    })
}

//更新火情信息
export function updateInNonEmergency(data) {
    return request({
        url: getUrl("admin/handle/updateInNonEmergency"),
        method: 'post',
        data
    })
}


export function deleteInNonEmergency(data) {
    return request({
        url: getUrl("admin/handle/deleteInNonEmergency"),
        method: 'post',
        data
    })
}


//获取异常信息数据 getInNonEmergencyVo
export function getInNonEmergencyVo(data) {
    return request({
        url: getUrl("admin/handle/getInNonEmergencyVo"),
        method: 'post',
        data
    })
}